<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Str;

class BoxUser extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'box_user';
    public $timestamps = false;

    
    // public function getAvatarImageUrlAttribute()
    // {
    //     $domain = Str::startsWith($this->avatar, 'uploads') ? 'http://wxy.jingyi.icu/' : 'http://laraveDact.com/uploads/';
    //     return $domain . $this->avatar;
    // }
    
}
